[INFO] cloning repository https://github.com/lochetti/portfolio-tracker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lochetti/portfolio-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochetti%2Fportfolio-tracker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochetti%2Fportfolio-tracker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5dfa3c27ab966cd035410cb45664d5cd4d13dbeb
[INFO] documenting lochetti/portfolio-tracker against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochetti%2Fportfolio-tracker" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lochetti/portfolio-tracker on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lochetti/portfolio-tracker
[INFO] finished tweaking git repo https://github.com/lochetti/portfolio-tracker
[INFO] tweaked toml for git repo https://github.com/lochetti/portfolio-tracker written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/lochetti/portfolio-tracker already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 050d3c0fae533c0c869234aab1e57ac4cfe097e0ebf3d443c29ae597aa2b50ac
[INFO] running `Command { std: "docker" "start" "-a" "050d3c0fae533c0c869234aab1e57ac4cfe097e0ebf3d443c29ae597aa2b50ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "050d3c0fae533c0c869234aab1e57ac4cfe097e0ebf3d443c29ae597aa2b50ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "050d3c0fae533c0c869234aab1e57ac4cfe097e0ebf3d443c29ae597aa2b50ac", kill_on_drop: false }`
[INFO] [stdout] 050d3c0fae533c0c869234aab1e57ac4cfe097e0ebf3d443c29ae597aa2b50ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42c1f458cb8ce47f93e079b826730009352d9bbb1c0ab8ea642922ef8edcdd47
[INFO] running `Command { std: "docker" "start" "-a" "42c1f458cb8ce47f93e079b826730009352d9bbb1c0ab8ea642922ef8edcdd47", kill_on_drop: false }`
[INFO] [stderr]  Documenting portfolio-tracker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/trade.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |       Ok(sqlx::query!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 14 | |         r#"
[INFO] [stdout] 15 | |         INSERT INTO trades ( ticker, date, type, amount, price )
[INFO] [stdout] 16 | |         VALUES ( ?1, ?2, ?3, ?4, ?5 )
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |         trade.price
[INFO] [stdout] 23 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/trade.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |       Ok(sqlx::query_as!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 40 | |         ListTrade,
[INFO] [stdout] 41 | |         r#"
[INFO] [stdout] 42 | |         SELECT id, ticker, date, type, amount, price FROM trades
[INFO] [stdout] 43 | |         "#,
[INFO] [stdout] 44 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/trade.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 |       Ok(sqlx::query!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 60 | |         r#"
[INFO] [stdout] 61 | |         SELECT date, amount, ticker FROM trades ORDER BY date asc
[INFO] [stdout] 62 | |         "#,
[INFO] [stdout] 63 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/trade.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 |       Ok(sqlx::query!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 77 | |         r#"
[INFO] [stdout] 78 | |         DELETE FROM trades WHERE id = ?1
[INFO] [stdout] 79 | |         "#,
[INFO] [stdout] 80 | |         trade_id
[INFO] [stdout] 81 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:153:32
[INFO] [stdout]     |
[INFO] [stdout] 153 |           let last_ticker_date = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 154 | |             LastPriceDate,
[INFO] [stdout] 155 | |             r#"
[INFO] [stdout] 156 | |         SELECT date from prices where ticker = ?1 ORDER BY date desc limit 1
[INFO] [stdout] 157 | |         "#,
[INFO] [stdout] 158 | |             ticker,
[INFO] [stdout] 159 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 | /             sqlx::query!(
[INFO] [stdout] 191 | |                 r#"
[INFO] [stdout] 192 | |             INSERT INTO prices ( ticker, date, price )
[INFO] [stdout] 193 | |             VALUES ( ?1, ?2, ?3 )
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |                 val.price
[INFO] [stdout] 198 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:218:32
[INFO] [stdout]     |
[INFO] [stdout] 218 |       let list_of_prices = match sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 219 | |         ListPricesResponse,
[INFO] [stdout] 220 | |         r#"
[INFO] [stdout] 221 | |         SELECT id, ticker, date, price FROM prices ORDER by date asc
[INFO] [stdout] 222 | |         "#,
[INFO] [stdout] 223 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:235:18
[INFO] [stdout]     |
[INFO] [stdout] 235 |       return match sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 236 | |         r#"
[INFO] [stdout] 237 | |         DELETE FROM prices
[INFO] [stdout] 238 | |         "#
[INFO] [stdout] 239 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:303:41
[INFO] [stdout]     |
[INFO] [stdout] 303 |       let prices: Vec<DailyPrice> = match sqlx::query!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 304 | |         r#"
[INFO] [stdout] 305 | |         SELECT date, price, ticker FROM prices ORDER BY date asc
[INFO] [stdout] 306 | |         "#,
[INFO] [stdout] 307 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `portfolio-tracker`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name portfolio_tracker src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=ece7550a3d5db175 -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-e2d33dd174c03c72.rmeta --extern axum=/opt/rustwide/target/debug/deps/libaxum-befaeaa1b8f4d82a.rmeta --extern bigdecimal=/opt/rustwide/target/debug/deps/libbigdecimal-c4f13e71b2b6396a.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-6d403432af8babab.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-9bc5e01eabfc6340.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-488c75a51691370f.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-d317ee963e770a2f.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-0425fd2635a7f758.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-5301870e23f14324.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-0b88f605916ce688.rmeta --cap-lints=allow -Zunstable-options -wjson --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "42c1f458cb8ce47f93e079b826730009352d9bbb1c0ab8ea642922ef8edcdd47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42c1f458cb8ce47f93e079b826730009352d9bbb1c0ab8ea642922ef8edcdd47", kill_on_drop: false }`
[INFO] [stdout] 42c1f458cb8ce47f93e079b826730009352d9bbb1c0ab8ea642922ef8edcdd47
